import { MockMethod } from 'vite-plugin-mock';

export default [
    // 用户登录
    {
        url: '/mock/api/users/login',
        method: 'post',
        response() {
            return {
                code: '000000',
                data: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJJbWciOiJodHRwczovL3pvcy5hbGlwYXlvYmplY3RzLmNvbS9ybXNwb3J0YWwvamtqZ2tFZnZwVVBWeVJqVUltbmlWc2xaZldQbkp1dVoucG5nIiwiX2lkIjoiNjU1ZGEzYmY5ZDlhNDA4YzdkZDczMjEyIiwidXNlcklkIjoxMDAwMDE2LCJ1c2VyTmFtZSI6IkphY2tNYSIsInVzZXJFbWFpbCI6ImphY2ttYUBtYXJzLmNvbSIsIm1vYmlsZSI6IjE3MDExMjIxMTIyIiwiZGVwdElkIjoiIiwiZGVwdE5hbWUiOiIiLCJqb2IiOiLliY3nq6_lt6XnqIvluIgiLCJzdGF0ZSI6MSwicm9sZSI6MiwiY3JlYXRlSWQiOjEwMDAwMDIsInJvbGVMaXN0IjoiNjU1ZGJlZGIxMWMwMmM4NTk3ZGNlNzZmIn0sImlhdCI6MTcxNzQwMjU3NiwiZXhwIjoxNzE3NDI0MTc2fQ.9hafhJ-zPaUB0KPnMVQldlNWoYi7c_l6_P6tydF4CNM',
                msg: '登录成功'
            };
        }
    },
    // 获取用户信息
    {
        url: '/mock/api/users/getUserInfo',
        method: 'get',
        response() {
            return {
                code: '000000',
                data: {
                    createId: '1000002',
                    createTime: '2024-11-22T10:44:25.532Z',
                    deptId: '655dbeee11c02c8597dce111',
                    deptName: '技术中心',
                    gender: '1',
                    job: '超级管理员',
                    lastLoginTime: '2024-11-03T08:16:16.044Z',
                    mobile: '15107987676',
                    roleList: [],
                    state: '1',
                    userEmail: 'admin@outloock.com',
                    userId: '1000002',
                    userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                    userName: 'admin'
                },
                msg: 'success'
            };
        }
    },
    // 获取用户权限列表
    {
        url: '/mock/api/users/getPermissionList',
        method: 'get',
        response() {
            return {
                code: '000000',
                data: {
                    menuList: [
                        {
                            menuId: '655db45ff10762608048caec',
                            menuType: '1',
                            menuName: '工作台',
                            menuCode: '',
                            path: '/dashboard',
                            icon: 'DesktopOutlined',
                            orderBy: 0,
                            menuState: '1',
                            parentId: '',
                            createId: '1000002',
                            createTime: '2024-11-22T07:50:59.931Z',
                            updateTime: '2024-11-22T08:27:07.828Z',
                            children: [
                                {
                                    menuId: '655db4a4f10762608048caf4',
                                    menuType: '2',
                                    menuName: '查看',
                                    menuCode: 'home@query',
                                    path: '',
                                    icon: '',
                                    orderBy: 0,
                                    menuState: '1',
                                    parentId: '655db45ff10762608048caec',
                                    createId: '1000002',
                                    createTime: '2023-11-22T07:50:59.931Z',
                                    updateTime: '2023-11-22T07:50:59.931Z'
                                }
                            ],
                            buttons: [
                                {
                                    menuId: '655db4a4f10762608048caf4',
                                    menuType: '2',
                                    menuName: '查看',
                                    menuCode: 'home@query',
                                    path: '',
                                    icon: '',
                                    orderBy: 0,
                                    menuState: '1',
                                    parentId: '655db45ff10762608048caec',
                                    createId: '1000002',
                                    createTime: '2023-11-22T07:50:59.931Z',
                                    updateTime: '2023-11-22T07:50:59.931Z'
                                }
                            ]
                        },
                        {
                            menuId: '655db520f10762608048cafa',
                            menuType: '1',
                            menuName: '系统管理',
                            menuCode: '',
                            path: '/system',
                            icon: 'SettingOutlined',
                            orderBy: 1,
                            menuState: '1',
                            parentId: '',
                            createId: '1000002',
                            createTime: '2023-11-22T07:50:59.931Z',
                            updateTime: '2023-11-22T07:50:59.931Z',
                            children: [
                                {
                                    menuId: '655db546f10762608048cafe',
                                    menuType: '1',
                                    menuName: '用户管理',
                                    menuCode: '',
                                    path: '/system/userList',
                                    icon: 'UserOutlined',
                                    orderBy: 0,
                                    menuState: '1',
                                    parentId: '655db520f10762608048cafa',
                                    createId: '1000002',
                                    createTime: '2023-11-22T07:50:59.931Z',
                                    updateTime: '2023-11-22T08:27:42.307Z',
                                    children: [
                                        {
                                            menuId: '655db556f10762608048cb02',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'user@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T07:50:59.931Z',
                                            updateTime: '2023-11-22T07:50:59.931Z'
                                        },
                                        {
                                            menuId: '655dc53ed4dc6d6fda15dbad',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'user@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc67ed4dc6d6fda15dbc7',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'user@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc68ad4dc6d6fda15dbcb',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'user@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655db556f10762608048cb02',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'user@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T07:50:59.931Z',
                                            updateTime: '2023-11-22T07:50:59.931Z'
                                        },
                                        {
                                            menuId: '655dc53ed4dc6d6fda15dbad',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'user@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc67ed4dc6d6fda15dbc7',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'user@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc68ad4dc6d6fda15dbcb',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'user@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db546f10762608048cafe',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ]
                                },
                                {
                                    menuId: '655db59bf10762608048cb06',
                                    menuType: '1',
                                    menuName: '菜单管理',
                                    menuCode: '',
                                    path: '/system/menuList',
                                    icon: 'MenuOutlined',
                                    orderBy: 1,
                                    menuState: '1',
                                    parentId: '655db520f10762608048cafa',
                                    createId: '1000002',
                                    createTime: '2023-11-22T07:50:59.931Z',
                                    updateTime: '2023-11-22T07:50:59.931Z',
                                    children: [
                                        {
                                            menuId: '655db5a8f10762608048cb0a',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'menu@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T07:50:59.931Z',
                                            updateTime: '2023-11-22T07:50:59.931Z'
                                        },
                                        {
                                            menuId: '655dc69bd4dc6d6fda15dbcf',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'menu@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6a5d4dc6d6fda15dbd3',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'menu@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6afd4dc6d6fda15dbd7',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'menu@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655db5a8f10762608048cb0a',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'menu@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T07:50:59.931Z',
                                            updateTime: '2023-11-22T07:50:59.931Z'
                                        },
                                        {
                                            menuId: '655dc69bd4dc6d6fda15dbcf',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'menu@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6a5d4dc6d6fda15dbd3',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'menu@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6afd4dc6d6fda15dbd7',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'menu@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db59bf10762608048cb06',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ]
                                },
                                {
                                    menuId: '655db5c7f10762608048cb0e',
                                    menuType: '1',
                                    menuName: '角色管理',
                                    menuCode: '',
                                    path: '/system/roleList',
                                    icon: 'TrademarkCircleOutlined',
                                    orderBy: 2,
                                    menuState: '1',
                                    parentId: '655db520f10762608048cafa',
                                    createId: '1000002',
                                    createTime: '2023-11-22T07:50:59.931Z',
                                    updateTime: '2023-11-22T07:50:59.931Z',
                                    children: [
                                        {
                                            menuId: '655dbb0011c02c8597dce710',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'role@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:40:20.527Z'
                                        },
                                        {
                                            menuId: '655dc6c7d4dc6d6fda15acac',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'role@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:40:20.527Z'
                                        },
                                        {
                                            menuId: '655dc6c7d4dc6d6fda15dbdb',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'role@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6d3d4dc6d6fda15dbdf',
                                            menuType: '2',
                                            menuName: '设置权限',
                                            menuCode: 'role@setting',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6ddd4dc6d6fda15dbe3',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'role@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 4,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655dbb0011c02c8597dce710',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'role@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:40:20.527Z'
                                        },
                                        {
                                            menuId: '655dc6c7d4dc6d6fda15acac',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'role@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:40:20.527Z'
                                        },
                                        {
                                            menuId: '655dc6c7d4dc6d6fda15dbdb',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'role@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6d3d4dc6d6fda15dbdf',
                                            menuType: '2',
                                            menuName: '设置权限',
                                            menuCode: 'role@setting',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6ddd4dc6d6fda15dbe3',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'role@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 4,
                                            menuState: '1',
                                            parentId: '655db5c7f10762608048cb0e',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ]
                                },
                                {
                                    menuId: '655dbbb911c02c8597dce71c',
                                    menuType: '1',
                                    menuName: '部门管理',
                                    menuCode: '',
                                    path: '/system/deptList',
                                    icon: 'SendOutlined',
                                    orderBy: 3,
                                    menuState: '1',
                                    parentId: '655db520f10762608048cafa',
                                    createId: '1000002',
                                    createTime: '2023-11-22T08:23:39.918Z',
                                    updateTime: '2023-11-22T08:23:39.918Z',
                                    children: [
                                        {
                                            menuId: '655dbbc411c02c8597dce720',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'dept@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:23:39.918Z'
                                        },
                                        {
                                            menuId: '655dc6f4d4dc6d6fda15dbe7',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'dept@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6fdd4dc6d6fda15dbeb',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'dept@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc708d4dc6d6fda15dbef',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'dept@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655dbbc411c02c8597dce720',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'dept@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:23:39.918Z'
                                        },
                                        {
                                            menuId: '655dc6f4d4dc6d6fda15dbe7',
                                            menuType: '2',
                                            menuName: '新增',
                                            menuCode: 'dept@create',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc6fdd4dc6d6fda15dbeb',
                                            menuType: '2',
                                            menuName: '编辑',
                                            menuCode: 'dept@edit',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc708d4dc6d6fda15dbef',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'dept@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 3,
                                            menuState: '1',
                                            parentId: '655dbbb911c02c8597dce71c',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            menuId: '655dbc1e11c02c8597dce724',
                            menuType: '1',
                            menuName: 'demo管理',
                            menuCode: '',
                            path: '/demo',
                            icon: 'CloudOutlined',
                            orderBy: 2,
                            menuState: '1',
                            parentId: '',
                            createId: '1000002',
                            createTime: '2023-11-22T08:23:39.918Z',
                            updateTime: '2023-11-22T08:23:39.918Z',
                            children: [
                                {
                                    menuId: '655dbc3811c02c8597dce728',
                                    menuType: '1',
                                    menuName: '评论列表',
                                    menuCode: '',
                                    path: '/demo/commentList',
                                    icon: 'BarsOutlined',
                                    orderBy: 0,
                                    menuState: '1',
                                    parentId: '655dbc1e11c02c8597dce724',
                                    createId: '1000002',
                                    createTime: '2023-11-22T08:23:39.918Z',
                                    updateTime: '2023-11-22T08:23:39.918Z',
                                    children: [
                                        {
                                            menuId: '655dbc4d11c02c8597dce72c',
                                            menuType: '2',
                                            menuName: '详情',
                                            menuCode: 'comment@detail',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T09:17:29.680Z'
                                        },
                                        {
                                            menuId: '655dc735d4dc6d6fda15dbf6',
                                            menuType: '2',
                                            menuName: '打点',
                                            menuCode: 'comment@point',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc74cd4dc6d6fda15dbfe',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'comment@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655dbc4d11c02c8597dce72c',
                                            menuType: '2',
                                            menuName: '详情',
                                            menuCode: 'comment@detail',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T09:17:29.680Z'
                                        },
                                        {
                                            menuId: '655dc735d4dc6d6fda15dbf6',
                                            menuType: '2',
                                            menuName: '打点',
                                            menuCode: 'comment@point',
                                            path: '',
                                            icon: '',
                                            orderBy: 1,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        },
                                        {
                                            menuId: '655dc74cd4dc6d6fda15dbfe',
                                            menuType: '2',
                                            menuName: '删除',
                                            menuCode: 'comment@delete',
                                            path: '',
                                            icon: '',
                                            orderBy: 2,
                                            menuState: '1',
                                            parentId: '655dbc3811c02c8597dce728',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:52:47.967Z',
                                            updateTime: '2023-11-22T08:52:47.967Z'
                                        }
                                    ]
                                },
                                {
                                    menuId: '655dbc6c11c02c8597dce730',
                                    menuType: '1',
                                    menuName: '视频管理',
                                    menuCode: '',
                                    path: '/demo/videoList',
                                    icon: 'DotChartOutlined',
                                    orderBy: 1,
                                    menuState: '1',
                                    parentId: '655dbc1e11c02c8597dce724',
                                    createId: '1000002',
                                    createTime: '2023-11-22T08:23:39.918Z',
                                    updateTime: '2023-11-22T08:23:39.918Z',
                                    children: [
                                        {
                                            menuId: '655dbc7911c02c8597dce734',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'video@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbc6c11c02c8597dce730',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:23:39.918Z'
                                        }
                                    ],
                                    buttons: [
                                        {
                                            menuId: '655dbc7911c02c8597dce734',
                                            menuType: '2',
                                            menuName: '查看',
                                            menuCode: 'video@query',
                                            path: '',
                                            icon: '',
                                            orderBy: 0,
                                            menuState: '1',
                                            parentId: '655dbc6c11c02c8597dce730',
                                            createId: '1000002',
                                            createTime: '2023-11-22T08:23:39.918Z',
                                            updateTime: '2023-11-22T08:23:39.918Z'
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    buttonList: [
                        'comment@detail',
                        'comment@point',
                        'comment@delete',
                        'comment@query',
                        'video@query',
                        'dept@query',
                        'dept@create',
                        'dept@edit',
                        'dept@delete',
                        'role@query',
                        'role@create',
                        'role@edit',
                        'role@setting',
                        'role@delete',
                        'menu@query',
                        'menu@create',
                        'menu@edit',
                        'menu@delete',
                        'user@query',
                        'user@create',
                        'user@edit',
                        'user@delete',
                        'home@query'
                    ]
                },
                msg: 'success'
            };
        }
    },
    // 分页获取用户列表
    {
        url: '/mock/api/users/list',
        method: 'get',
        response() {
            return {
                code: '000000',
                data: {
                    page: {
                        pageNum: 1,
                        pageSize: 10,
                        total: 14
                    },
                    list: [
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce111',
                            deptName: '技术中心',
                            gender: '1',
                            job: '超级管理员',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76a'],
                            state: '1',
                            userEmail: 'admin@outlook.com',
                            userId: '1000002',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'admin'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '前端部门',
                            gender: '1',
                            job: '前端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'jack@outlook.com',
                            userId: '1000011',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'jack'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '前端部门',
                            gender: '1',
                            job: '前端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'moli@outlook.com',
                            userId: '1000012',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'moli'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '前端部门',
                            gender: '1',
                            job: '前端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'tom@outlook.com',
                            userId: '1000013',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'tom'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11b',
                            deptName: '后端部门',
                            gender: '1',
                            job: '后端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'rose@outlook.com',
                            userId: '1000015',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'rose'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11b',
                            deptName: '后端部门',
                            gender: '1',
                            job: '后端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'qiande@outlook.com',
                            userId: '1000016',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'qiande'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11b',
                            deptName: '后端部门',
                            gender: '1',
                            job: '后端开发工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'aliex@outlook.com',
                            userId: '1000017',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'aliex'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '测试部门',
                            gender: '1',
                            job: '测试工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'haode@outlook.com',
                            userId: '1000018',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'haode'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '测试部门',
                            gender: '1',
                            job: '测试工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'zhang@outlook.com',
                            userId: '1000019',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'zhang'
                        },
                        {
                            createId: '1000002',
                            createTime: '2024-11-22T10:44:25.532Z',
                            deptId: '655dbeee11c02c8597dce11a',
                            deptName: '测试部门',
                            gender: '1',
                            job: '测试工程师',
                            lastLoginTime: '2024-11-03T08:16:16.044Z',
                            mobile: '15107987676',
                            roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                            state: '1',
                            userEmail: 'kaixin@outlook.com',
                            userId: '1000020',
                            userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                            userName: 'kaixin'
                        }
                    ]
                },
                msg: 'success'
            };
        }
    },
    // 获取所有用户列表
    {
        url: '/mock/api/users/all/list',
        method: 'get',
        response() {
            return {
                code: '000000',
                data: [
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce111',
                        deptName: '技术中心',
                        gender: '1',
                        job: '超级管理员',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76a'],
                        state: '1',
                        userEmail: 'admin@outlook.com',
                        userId: '1000002',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'admin'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '前端部门',
                        gender: '1',
                        job: '前端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'jack@outlook.com',
                        userId: '1000011',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'jack'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '前端部门',
                        gender: '1',
                        job: '前端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'moli@outlook.com',
                        userId: '1000012',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'moli'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '前端部门',
                        gender: '1',
                        job: '前端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'tom@outlook.com',
                        userId: '1000013',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'tom'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11b',
                        deptName: '后端部门',
                        gender: '1',
                        job: '后端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'rose@outlook.com',
                        userId: '1000015',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'rose'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11b',
                        deptName: '后端部门',
                        gender: '1',
                        job: '后端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'qiande@outlook.com',
                        userId: '1000016',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'qiande'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11b',
                        deptName: '后端部门',
                        gender: '1',
                        job: '后端开发工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'aliex@outlook.com',
                        userId: '1000017',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'aliex'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '测试部门',
                        gender: '1',
                        job: '测试工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'haode@outlook.com',
                        userId: '1000018',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'haode'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '测试部门',
                        gender: '1',
                        job: '测试工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'zhang@outlook.com',
                        userId: '1000019',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'zhang'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce11a',
                        deptName: '测试部门',
                        gender: '1',
                        job: '测试工程师',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76c', '655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'kaixin@outlook.com',
                        userId: '1000020',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'kaixin'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce22a',
                        deptName: '市场部门',
                        gender: '1',
                        job: '市场专员',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'nanshi@outlook.com',
                        userId: '1000021',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'nanshi'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce22a',
                        deptName: '市场部门',
                        gender: '1',
                        job: '市场专员',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'chandeng@outlook.com',
                        userId: '1000022',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'chandeng'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce22a',
                        deptName: '市场部门',
                        gender: '1',
                        job: '市场专员',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'gaughui@outlook.com',
                        userId: '1000023',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'gaunghui'
                    },
                    {
                        createId: '1000002',
                        createTime: '2024-11-22T10:44:25.532Z',
                        deptId: '655dbeee11c02c8597dce22a',
                        deptName: '市场部门',
                        gender: '1',
                        job: '市场专员',
                        lastLoginTime: '2024-11-03T08:16:16.044Z',
                        mobile: '15107987676',
                        roleList: ['655dbedb11c02c8597dce76d'],
                        state: '1',
                        userEmail: 'zhangyang@outlook.com',
                        userId: '1000024',
                        userImg: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
                        userName: 'zhangyang'
                    }
                ],
                msg: 'success'
            };
        }
    },
    // 用户头像上传
    {
        url: '/mock/api/users/upload',
        method: 'post',
        response() {
            return {
                code: '000000',
                data: {
                    file: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png'
                },
                msg: 'success'
            };
        }
    },
    // 新增用户
    {
        url: '/mock/api/users/create',
        method: 'post',
        response() {
            return {
                code: '000000',
                data: '',
                msg: 'success'
            };
        }
    },
    // 编辑用户
    {
        url: '/mock/api/users/edit',
        method: 'post',
        response() {
            return {
                code: '000000',
                data: '',
                msg: 'success'
            };
        }
    },
    // 删除用户
    {
        url: '/mock/api/users/delete',
        method: 'post',
        response() {
            return {
                code: '000000',
                data: '',
                msg: 'success'
            };
        }
    }
] as MockMethod[];
